﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProcessPage.aspx.cs" Inherits="Zyg.SSO.Web.ProcessPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>选择用户登录</title>
    <link href="style/screen.css" rel="Stylesheet" type="text/css" />
</head>
<body class="dbody">
    <form id="form1" runat="server">
    <%
        if (usercollect.Count > 0)
        { %>
    <table id="userNames" cellpadding="0" cellspacing="0" border="0" class="infoTable"
        width="100%" align="center">
        <tr>
            <th>
                编号
            </th>
            <th>
                用户名
            </th>
            <th>
            </th>
        </tr>
        <%
            for (i = 0; i < usercollect.Count; ++i)
            {
        %>
        <tr>
            <td>
                <%=i + 1%>
            </td>
            <td>
                <%=usercollect[i].Name%>
            </td>
            <td>
                <a href="PassLogin.aspx?APID=<%=strAPID %>&id=<%=usercollect[i].Id %>" target="_blank">
                    登录</a>
            </td>
        </tr>
        <%
            }
        %>
    </table>
    <%}
        else
        { %>
    <table id="userNames" cellpadding="0" cellspacing="0" border="0" class="infoTable"
        width="100%" align="center">
        <tr>
            <td>
                暂未设定用户,请先做用户映射
            </td>
        </tr>
    </table>
    <% }%>
    </form>

    <script type="text/javascript" src="script/jquery/jquery-1.2.6.min.js"></script>

    <script type="text/javascript" src="script/zyg.sso.js"></script>

    <script type="text/javascript">
        zyg.sso.infoTable({
            id: '#userNames',
            checkAll: false
        });
    </script>

</body>
</html>
